<%--== Handlers ==--%> <%--postarticle_last Opening Initialization directive @1-A0E75F14--%><%!

// //Workaround for JRun 3.1 @1-F81417CB

//postarticle_last Page Handler Head @1-55635F3C
    public class postarticle_lastPageHandler implements PageListener {
//End postarticle_last Page Handler Head

//postarticle_last AfterInitialize Method Head @1-89E84600
        public void afterInitialize(Event e) {
//End postarticle_last AfterInitialize Method Head

 if (Utils.getUserId(e.getPage()) == null ) { 
e.getPage().setRedirectString("../login.jsp");
}
//Event AfterInitialize Action Custom Code @14-44795B7A
/* -------------------------- *
 *  write your own code here  *
 * -------------------------- */
//End Event AfterInitialize Action Custom Code

//postarticle_last AfterInitialize Method Tail @1-FCB6E20C
        }
//End postarticle_last AfterInitialize Method Tail

//postarticle_last OnInitializeView Method Head @1-E3C15E0F
        public void onInitializeView(Event e) {
//End postarticle_last OnInitializeView Method Head

//postarticle_last OnInitializeView Method Tail @1-FCB6E20C
        }
//End postarticle_last OnInitializeView Method Tail

//postarticle_last BeforeShow Method Head @1-46046458
        public void beforeShow(Event e) {
//End postarticle_last BeforeShow Method Head

//postarticle_last BeforeShow Method Tail @1-FCB6E20C
        }
//End postarticle_last BeforeShow Method Tail

//postarticle_last BeforeUnload Method Head @1-1DDBA584
        public void beforeUnload(Event e) {
//End postarticle_last BeforeUnload Method Head

//postarticle_last BeforeUnload Method Tail @1-FCB6E20C
        }
//End postarticle_last BeforeUnload Method Tail

//postarticle_last Page Handler Tail @1-FCB6E20C
    }
//End postarticle_last Page Handler Tail

//Comment workaround @1-A0AAE532
%> <%
//End Comment workaround

//Processing @1-BC05FD87
    Page postarticle_lastModel = (Page)request.getAttribute("postarticle_last_page");
    Page postarticle_lastParent = (Page)request.getAttribute("postarticle_lastParent");
    if (postarticle_lastModel == null) {
        PageController postarticle_lastCntr = new PageController(request, response, application, "/userCreate/postarticle_last.xml", "ISO-8859-1" );
        postarticle_lastModel = postarticle_lastCntr.getPage();
        //if (postarticle_lastParent != null) {
            //if (!postarticle_lastParent.getChild(postarticle_lastModel.getName()).isVisible()) return;
        //}
    postarticle_lastModel.addPageListener(new postarticle_lastPageHandler());
        postarticle_lastCntr.process();
%>
<%
        if (postarticle_lastParent == null) {
            if (postarticle_lastModel.redirect()) return;
            postarticle_lastModel.setCookies();
        } else {
            postarticle_lastModel.redirect();
        }
    }
//End Processing

%>
